package backend.project.gym_management.pojo.dto;

import backend.project.gym_management.pojo.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
 * 员工更新用户头衔参数
 */
@Data
@ApiModel("员工更新用户头衔参数")
public class StaffUpdateUserTitleParam {
    @ApiModelProperty(value = "用户ID", required = true, example = "110001")
    @NotNull(message = "用户ID不能为空")
    private Long uid;

    @ApiModelProperty(value = "新的头衔", required = true, example = "高级会员")
    @NotNull(message = "请选择新头衔")
    private User.Title title;
}
